<div class="layui-form" lay-filter="layuiadmin-form-role" id="form">
	<div class="form-cont">
		<div class="layui-form-item verify">
		  <label class="layui-form-label">设备名称</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.device_name"  class="layui-input">
			</div>
		</div>
	
		<div class="layui-form-item verify">
		  <label class="layui-form-label">代理名称</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.agent_name"  class="layui-input">
			</div>
		</div>
		<div class="layui-form-item verify">
		  <label class="layui-form-label">会员名称</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.member_name"  class="layui-input">
			</div>
		</div>
		<div class="layui-form-item verify">
		  <label class="layui-form-label">会员电话</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.tel"  class="layui-input">
			</div>
		</div>

		<div class="layui-form-item verify">
		  <label class="layui-form-label">会员学校</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.school"  class="layui-input">
			</div>
		</div>

		<div class="layui-form-item verify">
		  <label class="layui-form-label">会员年级</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.grade"  class="layui-input">
			</div>
		</div>

		<div class="layui-form-item verify">
		  <label class="layui-form-label">会员班级</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.class"  class="layui-input">
			</div>
		</div>
		<div class="layui-form-item verify">
		  <label class="layui-form-label">地址</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.address"  class="layui-input">
			</div>
		</div>
		<div class="layui-form-item verify">
		  <label class="layui-form-label">报警信息</label>
		  <div class="layui-input-block">
			  <input type="text" lay-verify="readonly" autocomplete="off" readonly v-model="detail.abnormal_desc"  class="layui-input">
			</div>
		</div>

</div>
</div>
<style type="text/css">
	.form-cont{
		overflow: auto;
	}
</style>
<script>
	layui.use(['form'], function(){
	  var $ = layui.$
	  ,form = layui.form;
	  var form=new Vue({
	  		el:'#form',
	  		data:{
	  			detail:{
					
				},
				old_detail:{},
	  			qx:[],
				type:layui.admin.objData.type
	  		},
	  		created() {
				//初始化
	  			if(this.type!=1) this.detail=layui.admin.objData.detail,this.old_detail=JSON.stringify(layui.admin.objData.detail);
				//提交form
				var _this=this;
	  		},
	  		methods:{
				
	  		}
	  	})
	});
</script>
